Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use correct braces in smart-proxy-plugin script #401

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Jan 5, 2024

These are variables that are replaced in Jenkins templating, not bash.

Fixes: f164a3f ("Use bundler 2.4.22 in ruby 2.7 environments")

@evgeni
Copy link
Member

evgeni commented Jan 5, 2024

KeyError: 'ruby'

huh…

@ekohl
Copy link
Member Author

ekohl commented Jan 5, 2024

Layers of templating ...

@evgeni
Copy link
Member

evgeni commented Jan 5, 2024

Shall we just always instal that bundler version? It works fine with ruby3 too…

These are variables that are replaced in Jenkins templating, not bash.

Fixes: f164a3f ("Use bundler 2.4.22 in ruby 2.7 environments")
@ekohl ekohl changed the title Use bash in Ruby version comparisons Use correct braces in smart-proxy-plugin script Jan 12, 2024
@ekohl
Copy link
Member Author

ekohl commented Jan 12, 2024

I'm unsure about the Foreman plugin testing, but this looks correct for Smart Proxy. For Foreman plugins I'd rather invest time in phasing it out.

@evgeni evgeni merged commit 33e789c into theforeman:master Jan 12, 2024
2 checks passed
@ekohl ekohl deleted the fix-escaping branch January 12, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants